<script type="text/template" id="result-cell">
    <td class="column-<%= column + (win ? ' win' : '') + (holder ? ' holder' : '') %>"
        data-number="<%= number %>" data-date="<%= date %>" data-column-id="<%= column %>"
        id="c-<%= id %>">
        <%= number %>
        <% if (date != null) {
            var d = new Date(date * 1000); %>
        <span class="date"><%= d.getDate() + "/" + (d.getMonth() + 1) + "/" +d.getFullYear() %></span>
        <% } %>
    </td>
</script>

<div id="data-table">
    <table>
        <thead>
        <tr>
            @foreach (weekdays() as $wdKey => $wdName)
            <th data-column-id="{{ $wdKey }}" class="column-{{ $wdKey }}">{{ $wdName }}</th>
            @endforeach
        </tr>
        </thead>

        <tbody id="result-data-table">

        </tbody>
    </table>

</div>